const users = [
  {id: 1, name: "Mike"},
  {id: 2, name: "Peter"},
  {id: 3, name: "John"},
]

export default function UserList(){
  return (
    <ul>
      {
        users.map((user, index) => {
          return <li key={index}>Name: {user.name}</li>
        })
      }
    </ul>
  );
}